package acme.db;

import java.util.Collection;

public interface CrudDao <T extends Object>{
	public abstract Class<T> getClazz();

	T createResource(T obj);
	
	Collection<T> getAllResources();
	
	T readResource(String id);
	
	void updateResource(T obj);
	
	void deleteResource(String id);
}
